From: Felix Krull Date: Fri, 24 Jul 2020 12:57:04 +0000 (+0200) Subject: Add command to grab latest OSTree-1.0.gir from Fedora Rawhide X-Git-Tag: archive/raspbian/2022.4-1+rpi1^2~9^2^2~20^2~127 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=7ef8668f0ab7c68a8c40333c6013f8523a4b3fa6;p=ostree.git Add command to grab latest OSTree-1.0.gir from Fedora Rawhide --- diff --git a/rust-bindings/rust/Makefile b/rust-bindings/rust/Makefile index 48d6d69f..d418862f 100644 --- a/rust-bindings/rust/Makefile +++ b/rust-bindings/rust/Makefile @@ -34,7 +34,8 @@ update-gir-files: \ gir-files \ gir-files/GLib-2.0.gir \ gir-files/Gio-2.0.gir \ - gir-files/GObject-2.0.gir + gir-files/GObject-2.0.gir \ + gir-files/OSTree-1.0.gir remove-gir-files: rm -f gir-files/G*-2.0.gir @@ -46,5 +47,10 @@ gir-files: curl -o $@ -L https://github.com/gtk-rs/gir-files/raw/master/${@F} gir-files/OSTree-1.0.gir: - echo Best to build libostree with all features and use that - exit 1 + podman run \ + --rm \ + -v $(PWD)/gir-files:/gir-files \ + fedora:rawhide \ + bash -eu -c "\ + dnf install -y ostree-devel && \ + cp /usr/share/gir-1.0/OSTree-1.0.gir /gir-files/"